

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>Experiments on DiDi traffic-flow prediction &mdash; UCTB  documentation</title>
  

  
  

  

  
  
    

  

  
  
    <link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
  

  

  
        <link rel="index" title="Index"
              href="../../genindex.html"/>
        <link rel="search" title="Search" href="../../search.html"/>
    <link rel="top" title="UCTB  documentation" href="../../index.html"/> 

  
  <script src="../../_static/js/modernizr.min.js"></script>

</head>

<body class="wy-body-for-nav" role="document">

   
  <div class="wy-grid-for-nav">

    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search">
          

          
            <a href="../../index.html" class="icon icon-home"> UCTB
          

          
          </a>

          
            
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
                <ul>
<li class="toctree-l1"><a class="reference internal" href="../introduction.html">1. Introduction</a></li>
<li class="toctree-l1"><a class="reference internal" href="../installation.html">2. Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../quickstart.html">3. Quick start</a></li>
<li class="toctree-l1"><a class="reference internal" href="../tutorial.html">4. Tutorial</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../APIReference.html">5. API Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="../all_results.html">6. Results on different datasets</a></li>
<li class="toctree-l1"><a class="reference internal" href="../uctb_group.html">7. About us (UCTB Group)</a></li>
</ul>

            
          
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../../index.html">UCTB</a>
        
      </nav>


      
      <div class="wy-nav-content">
        <div class="rst-content">
          













<div role="navigation" aria-label="breadcrumbs navigation">
  <ul class="wy-breadcrumbs">
    
      <li><a href="../../index.html">Docs</a> &raquo;</li>
        
      <li>Experiments on DiDi traffic-flow prediction</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
            
            <a href="../../_sources/md_file/static/experiment_on_didi.md.txt" rel="nofollow"> View page source</a>
          
        
      </li>
    
  </ul>
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="experiments-on-didi-traffic-flow-prediction">
<h1>Experiments on DiDi traffic-flow prediction<a class="headerlink" href="#experiments-on-didi-traffic-flow-prediction" title="Permalink to this headline">¶</a></h1>
<ul class="simple">
<li><p>Experiment Setting</p>
<ul>
<li><p>Dataset</p></li>
</ul>
</li>
</ul>
<pre><code>|        Attributes        |    **Xi'an**    |   **Chengdu**   |
| :----------------------: | :-------------: | :-------------: |
|        Time span         | 2016.10-2016.11 | 2016.10-2016.11 |
| Number of riding records |     5922891     |     8439537     |
|    Number of stations    |       253       |       256       |
</code></pre><p>In the data preprocessing stage, we removed the stations with average daily traffic flow smaller than 1, since predictions for these stations are not significant in real life.</p>
<p>Network parameter setting (STMeta model)</p>
<ul class="simple">
<li><p>Following shows the parameters we used and a short explanation of the parameter meaning.  To know more about the parameter, please refer to the API reference.</p></li>
</ul>
<pre><code>| Parameter  | Value |                  Meaning                   |
| :--------: | :---: | :----------------------------------------: |
|    GLL     |   2   |          number of GCLSTM layers           |
| LSTMUnits  |  256  |       number of hidden units in LSTM       |
|  GALUnits  |  256  |       number of units used in GAtteL       |
|  GALHeads  |   2   |       number of multi-head in GAtteL       |
| DenseUnits |  32   | number of units in penultimate dense layer |
|     TC     |   0   |           correlation threshold            |
|     TD     | 1000  |             distance threshold             |
|     TI     |  500  |           interaction threshold            |
|     lr     | 5e-4  |               learning rate                |
</code></pre><ul class="simple">
<li><p>Experiment Results</p>
<ul>
<li><p>STMeta uses correlation graph and interaction graph on Xi’an dataset, and uses correlation graph and interaction graph on Chengdu dataset.</p></li>
</ul>
</li>
</ul>
<table border="1" class="docutils">
<thead>
<tr>
<th align="center"></th>
<th align="center">Xi'an</th>
<th align="center">Chengdu</th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">HM</td>
<td align="center">10.13594</td>
<td align="center">14.14511</td>
</tr>
<tr>
<td align="center">ARIMA</td>
<td align="center">10.11464</td>
<td align="center">14.53216</td>
</tr>
<tr>
<td align="center">HMM</td>
<td align="center">10.3239</td>
<td align="center">15.24771</td>
</tr>
<tr>
<td align="center">XGBoost</td>
<td align="center">8.72033</td>
<td align="center">10.73894</td>
</tr>
<tr>
<td align="center">LSTM</td>
<td align="center">9.31375</td>
<td align="center">12.05271</td>
</tr>
<tr>
<td align="center">STMeta</td>
<td align="center">7.20868</td>
<td align="center">8.88920</td>
</tr>
</tbody>
</table><div class="section" id="adding-period-and-closeness-feature-into-mode">
<h2>Adding period and closeness feature into mode<a class="headerlink" href="#adding-period-and-closeness-feature-into-mode" title="Permalink to this headline">¶</a></h2>
<table border="1" class="docutils">
<thead>
<tr>
<th align="center"></th>
<th align="center">Xi'an</th>
<th align="center">Chengdu</th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">HM</td>
<td align="center"></td>
<td align="center"></td>
</tr>
<tr>
<td align="center">ARIMA</td>
<td align="center"></td>
<td align="center"></td>
</tr>
<tr>
<td align="center">XGBoost</td>
<td align="center"></td>
<td align="center"></td>
</tr>
<tr>
<td align="center">GBRT</td>
<td align="center"></td>
<td align="center"></td>
</tr>
<tr>
<td align="center">LSTM</td>
<td align="center">6.33135</td>
<td align="center">6.97385</td>
</tr>
<tr>
<td align="center">DG-GCLSTM</td>
<td align="center">6.50630</td>
<td align="center">7.16565</td>
</tr>
<tr>
<td align="center">IG-GCLSTM</td>
<td align="center">6.02866</td>
<td align="center">7.20899</td>
</tr>
<tr>
<td align="center">CG-GCLSTM</td>
<td align="center">5.90418</td>
<td align="center">7.09994</td>
</tr>
<tr>
<td align="center">STMeta</td>
<td align="center">5.94591</td>
<td align="center">7.26551</td>
</tr>
</tbody>
</table><p><u><a class="reference external" href="../../index.html">Back To HomePage</a></u></p>
</div>
</div>


           </div>
          </div>
          <footer>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2019, UCTB group.

    </p>
  </div>
  Built with <a href="http://sphinx-doc.org/">Sphinx</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  


  

    <script type="text/javascript">
        var DOCUMENTATION_OPTIONS = {
            URL_ROOT:'../../',
            VERSION:'',
            COLLAPSE_INDEX:false,
            FILE_SUFFIX:'.html',
            HAS_SOURCE: 'true'
        };
    </script>
      <script type="text/javascript" src="../../_static/jquery.js"></script>
      <script type="text/javascript" src="../../_static/underscore.js"></script>
      <script type="text/javascript" src="../../_static/doctools.js"></script>
      <script type="text/javascript" src="../../_static/language_data.js"></script>

  

  
  
    <script type="text/javascript" src="../../_static/js/theme.js"></script>
  

  
  
  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.StickyNav.enable();
      });
  </script>
   

</body>
</html>